JCC = javac
JFLAGS = -g -encoding 8859_1

all: model view controller tools main

model:
	$(JCC) $(JFLAGS) mediatheque/view/*.java
	
view:
	$(JCC) $(JFLAGS) mediatheque/view/*.java
	
controller:
	$(JCC) $(JFLAGS) mediatheque/controller/*.java
	
tools:
	$(JCC) $(JFLAGS) tools/*.java
	
main:
	$(JCC) $(JFLAGS) Main.java

clean: 
	$(RM) mediatheque/view/*.class
	$(RM) mediatheque/view/*.class
	$(RM) mediatheque/controller/*.class
	$(RM) tools/*.class
	$(RM) *.class
